@charset "utf-8";
@import "common/reset";
@import "common/util";
@function p($px) {
    @return $px/2*1px;
}

@mixin transf {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

//主体
section {
    //  padding-top: p(140);
    //  padding-bottom: p(146);
    position: absolute;
    top: p(140);
    bottom: p(144);
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

header {
    .search {
        border: none;
        text-align: center;
    }
}

.findMobile {
    section {
        //bannter
        .search {
            width: p(262);
            height: p(49);
            line-height: p(49);
            border-radius: p(23);
            border: p(3) solid $orange;
            margin: 0 auto;
            margin-top: p(51);
            input[type="search"] {
                width: p(197);
                height: p(34);
                padding-left: p(6);
                border: none;
                margin-left: p(10);
                vertical-align: middle;
                font-size: p(24);
            }
            i {
                color: $orange;
                vertical-align: middle;
            }
        } //大家都在搜
        .usSearch {
            font-size: p(26);
            line-height: p(26);
            margin-top: p(31);
            text-align: center;
        } //寿司
        .searchContent {
            width: p(520);
            margin: 0 auto;
            overflow: hidden;
            margin-top: p(13);
            li {
                float: left;
                width: p(124);
                height: p(64);
                background: #dcdcdc;
                margin: p(2) p(3);
                a {
                    font-size: p(28);
                    color: #898989;
                    display: block;
                    line-height: p(64);
                    text-align: center;
                }
            }
        }
        .hotSearch {
            .goodsImg {
                padding: 0 p(21);
                width: 100%;
                box-sizing: border-box;
                margin-top: p(50);
                overflow: hidden;
                .goodsLeft {
                    width: 39.35%;
                    padding-top: 49.5%;
                    position: relative;
                    overflow: hidden;
                    float: left;
                    a {
                        font-size: 0;
                        width: 100%;
                        @include transf;
                        img {
                            width: 100%;
                        }
                    }
                }
                .goodsRigth {
                    float: right;
                    width: 59.23%;
                    padding-top: 49.5%;
                    position: relative;
                    font-size: 0;
                    .imgtop {
                        width: 100%;
                        padding-top: 34.76%;
                        position: absolute;
                        top: 0;
                        overflow: hidden;
                        a {
                            width: 100%;
                            @include transf;
                            img {
                                width: 100%;
                            }
                        }
                    }
                    .imgBtm {
                        width: 100%;
                        position: absolute;
                        overflow: hidden;
                        bottom: 0;
                        .left {
                            width: 46.42%;
                            padding-top: 46.42%;
                            position: relative;
                            overflow: hidden;
                            float: left;
                            a {
                                width: 100%;
                                @include transf;
                                img {
                                    width: 100%;
                                }
                            }
                        }
                        .right {
                            width: 51.2%;
                            padding-top: 46.42%;
                            position: relative;
                            overflow: hidden;
                            float: right;
                            a {
                                width: 100%;
                                @include transf;
                                img {
                                    width: 100%;
                                }
                            }
                        }
                    }
                }
            }
        }
        .recommendSearch {
            padding: 0 p(21);
            .goodsImg {
                width: 100%;
                overflow: hidden;
                margin-top: p(50);
                li {
                    width: 29.61%;
                    padding-top: 28.2%;
                    position: relative;
                    overflow: hidden;
                    float: left;
                    margin: 0 1.83%;
                    a {
                        width: 100%;
                        @include transf;
                        img {
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
}